package pta.MOOC.ch02.ex6;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int year = scanner.nextInt();
        boolean isLeapYear = (year % 4 == 0 && year % 100 !=0||year%400==0 );
        if (isLeapYear){
            System.out.println("yes");
        } else  {
            System.out.println("no");
        }
        scanner.close();
    }
}
